<!DOCTYPE html>
<html lang="zh-Hans" xmlns:th="http://www.thymeleaf.org">
<head>
	<title>基本信息详情</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chorme=1">
    <meta name="renderer" content="webkit">
	<script src="/static/cqzd/js/boot.js"></script>
	<script src="/static/cqzd/js/national.js"></script>
	<style>
		input{

		}
	</style>
</head>
<body>

	<div title="患者基本信息" >
		<div style="padding-top:5px">
			<div id="basepatientForm">
				<table style="width:100%;height:100%;table-layout:fixed;text-align: right;padding-right: 50px;line-height: 40px" class="mini-form-table" >
					<tr >
						<th class="mini-form-label"><label>患者代号：</label></th>
						<td >
							<input id="patientCode" name="patientCode" class="mini-textbox mini-form-input myInput" required="true" />
						</td>

						<th class="mini-form-label"><label>患者姓名：</label></th>
						<td>
							<input id="patientName" name="patientName" class="mini-textbox mini-form-input myInput"   />
						</td>


					</tr>
					<tr class="odd">
						<th class="mini-form-label"><label>身份证：</label></th>
						<td>
							<input id="patientCardId" name="patientCardId"  class="mini-textbox  mini-form-input myInput" />
						</td>

						<th class="mini-form-label"><label>患者电话：</label></th>
						<td>
							<input id="patientTel" name="patientTel" class="mini-textbox  mini-form-input myInput"/>
						</td>
					</tr>

					<tr>
						<th class="mini-form-label"><label>出生日期：</label></th>
						<td>
							<input id="patientBirthday" name="patientBirthday" class="mini-datepicker mini-form-input myInput" />
						</td>


						<th class="mini-form-label"><label>民族：</label></th>
						<td>
							<input id="patientRaceId" name="patientRaceId" class="mini-combobox mini-form-input myInput" textfield="name" />
						</td>

					</tr>

					<tr>
						<th class="mini-form-label"><label>宗教信仰：</label></th>
						<td>
							<input id="patientReligion" name="patientReligion" class="mini-textbox mini-form-input myInput "/>
						</td>

						<th class="mini-form-label"><label>年龄：</label></th>
						<td>
							<input id="patientAge" name="patientAge" class="mini-textbox mini-form-input myInput"/>
						</td>
					</tr>

					<tr>
						<th class="mini-form-label"><label>学历：</label></th>
						<td>
							<input id="patientEdu" name="patientEdu" class="mini-textbox  mini-form-input myInput"/>
						</td>
						<th class="mini-form-label"><label>职业：</label></th>
						<td>
							<input id="patientOccupation" name="patientOccupation" class="mini-textbox  mini-form-input myInput" />
						</td>

					</tr>
					<tr>


						<th class="mini-form-label"><label>配偶年龄：</label></th>
						<td>
							<input id="spouseAge" name="spouseAge" class="mini-textbox  mini-form-input myInput"/>
						</td>

						<th class="mini-form-label"><label>配偶职业：</label></th>
						<td>
							<input id="spouseOccupation" name="spouseOccupation" class="mini-textbox  mini-form-input myInput"/>
						</td>
					</tr>
					<tr>
						<th class="mini-form-label"><label>配偶学历：</label></th>
						<td>
							<input id="spouseEdu" name="spouseEdu" class="mini-textbox  mini-form-input myInput"/>
						</td>


						<th class="mini-form-label"><label>配偶电话：</label></th>
						<td>
							<input id="spouseTel" name="spouseTel" class="mini-textbox  mini-form-input myInput"/>
						</td>


					</tr>
					<tr>
						<th class="mini-form-label"><label>患者住址：</label></th>
						<td>
							<input id="patientAddress" name="patientAddress" class="mini-textbox  mini-form-input myInput"/>
						</td>
					</tr>
				</table>
			</div>
		</div>

    <script type="text/javascript">
		txkui.parse();
    	var moduleUlr="cqzd/basepatient/";
        var form = new mini.Form("basepatientForm");
		//设置表单元素只读
		form.setEnabled(false);

		mini.get("patientRaceId").setData(nation_data);
		function SetData(dataP) {
			//跨页面传递的数据对象，克隆后才可以安全使用
			var data = mini.clone(dataP);
			var result=data.data;
			form.setData(result);
			console.log(result);

		}
    </script>
</body>
</html>